<%@ page language="java" contentType="text/html; charset=utf-8"
	pageEncoding="utf-8" isELIgnored="false"%>
<%@ include file="/WEB-INF/views/shared/taglib.jsp"%>
<style type="text/css">
.seniorSearch .form-group{
	margin-bottom: 6px !important;
	padding-bottom: 6px !important;
}
.panel-body1{
padding: 0px 20px 0px 20px;
}
</style>
<div class="col-md-10 col-sm-10 col-lg-10 hidden-xs">
	<div class="input-group input-group-xs">
		<span class="inputGroupClass input-group-btn">
			<button class="btn btn-custom btn-default btn-icon  legitRipple" type="button" value="button">
				<i class="icon-search4 "></i>
			</button>
		</span> 
		<input id="searchKey" name="searchKey" class="form-control custom-input" type="text" value=""> 
		<span class="rightInputGroupClass input-group-btn">
			<button class="btn btn-custom btn-default  legitRipple" onclick="buttonSearch()" type="button" value="button">搜索</button>
			<button class="btn btn-custom btn-default  dropdown-toggle legitRipple dropdown-toggle-search-item" data-toggle="dropdown" type="button" value="button">
				<span class="caret"></span>
			</button>
	
		</span>
	</div>
</div>
<div class="col-md-2 col-sm-2 col-lg-2 hidden-xs">
	<button type="button" class="btn btn-primary  addParts" onclick="addCargo()" >新增货品</button>
</div>

<script type="text/javascript">
$(function(){
	$("#searchKey").bind('input propertychange', function() {
		initPageIndex();
		formSubmit();
	});
});

function addCargo(){
	top.openModal("/cargo/cargo/singleDetailed?type="+"add"+"&refershType="+"supplyCargo","cargo_form","单品上架-添加",1100,550);
}
</script>